home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / mac / progrmng / mlpmodul.sit / MacLogimoPlus Documentation / sample code / SMALLTERMINAL.MOD < prev    next >
MacBinary  |  1990-06-14  |  3.4 KB  |  [TEXT/PMED]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert SoundTracker Module (music/soundTracker) ext Supported
66% dexvert Chip Tracker Module (music/chipTracker) ext Supported
66% dexvert Protracker Module (music/mod) ext Supported
66% dexvert Octalyser Module (music/octalyser) ext Supported
66% dexvert Star Tracker/StarTrekker Module (music/starTracker) ext Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert PollyTracker Module (music/pollyTracker) ext Unsupported
1% dexvert Black Viper packed music (music/blackViperPackedMusic) ext Unsupported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Wed Jun 13 22:31:29 1990, modified Wed Jun 13 22:31:29 1990, creator 'PMED', type ASCII, 2893 bytes "SMALLTERMINAL.MOD" , at 0xbcd 348 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[PMED]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 11 53 4d 41 4c 4c 54 | 45 52 4d 49 4e 41 4c 2e |..SMALLT|ERMINAL.|
|00000010| 4d 4f 44 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |MOD.....|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 50 4d 45 | 44 01 00 00 00 00 00 00 |.TEXTPME|D.......|
|00000050| 00 00 00 00 00 0b 4d 00 | 00 01 5c a2 9c a7 81 a2 |......M.|..\.....|
|00000060| 9c a7 81 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 22 a3 00 00 |........|...."...|
|00000080| 4d 4f 44 55 4c 45 20 73 | 6d 61 6c 6c 54 65 72 6d |MODULE s|mallTerm|
|00000090| 69 6e 61 6c 3b 20 20 28 | 2a 20 33 30 2e 30 34 2e |inal; (|* 30.04.|
|000000a0| 38 35 20 2f 20 46 72 61 | 6e 7a 20 4b 72 6f 6e 73 |85 / Fra|nz Krons|
|000000b0| 65 64 65 72 20 2a 29 0d | 20 20 20 20 20 20 20 20 |eder *).| |
|000000c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 28 | | (|
|000000d0| 2a 20 6c 61 73 74 20 6d | 6f 64 69 66 69 65 64 20 |* last m|odified |
|000000e0| 32 36 2e 30 36 2e 38 35 | 20 2a 29 0d 20 20 20 20 |26.06.85| *). |
|000000f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000100| 20 20 20 28 2a 20 69 6e | 73 74 61 6c 6c 20 61 20 | (* in|stall a |
|00000110| 73 6d 61 6c 6c 20 54 65 | 72 6d 69 6e 61 6c 20 69 |small Te|rminal i|
|00000120| 6e 20 74 68 65 20 6c 6f | 77 65 72 20 68 61 6c 66 |n the lo|wer half|
|00000130| 20 2a 29 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 | *). | |
|00000140| 20 20 20 20 20 20 20 20 | 20 20 20 28 2a 20 6f 66 | | (* of|
|00000150| 20 74 68 65 20 73 63 72 | 65 65 6e 2c 20 68 61 76 | the scr|een, hav|
|00000160| 69 6e 67 20 6f 6e 6c 79 | 20 61 20 66 65 77 20 6c |ing only| a few l|
|00000170| 69 6e 65 73 20 66 6f 72 | 20 2a 29 0d 20 20 20 20 |ines for| *). |
|00000180| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000190| 20 20 20 28 2a 20 74 65 | 73 74 20 69 2f 6f 2c 20 | (* te|st i/o, |
|000001a0| 73 6f 20 74 68 61 74 20 | 74 68 65 20 73 70 61 63 |so that |the spac|
|000001b0| 65 20 69 6e 20 74 68 65 | 20 75 70 70 65 72 20 20 |e in the| upper |
|000001c0| 20 2a 29 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 | *). | |
|000001d0| 20 20 20 20 20 20 20 20 | 20 20 20 28 2a 20 68 61 | | (* ha|
|000001e0| 6c 66 20 69 73 20 61 76 | 61 69 6c 61 62 6c 65 20 |lf is av|ailable |
|000001f0| 66 6f 72 20 65 78 70 65 | 72 69 6d 65 6e 74 69 6e |for expe|rimentin|
|00000200| 67 20 77 69 74 68 20 20 | 20 2a 29 0d 20 20 20 20 |g with | *). |
|00000210| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000220| 20 20 20 28 2a 20 77 69 | 6e 64 6f 77 73 2c 20 63 | (* wi|ndows, c|
|00000230| 6f 6e 74 72 6f 6c 73 20 | 61 6e 64 20 6d 65 6e 75 |ontrols |and menu|
|00000240| 73 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |s | |
|00000250| 20 2a 29 0d 0d 46 52 4f | 4d 20 53 59 53 54 45 4d | *)..FRO|M SYSTEM|
|00000260| 20 20 49 4d 50 4f 52 54 | 20 41 44 52 2c 41 44 44 | IMPORT| ADR,ADD|
|00000270| 52 45 53 53 3b 0d 46 52 | 4f 4d 20 51 75 69 63 6b |RESS;.FR|OM Quick|
|00000280| 44 72 61 77 20 49 4d 50 | 4f 52 54 20 47 72 61 66 |Draw IMP|ORT Graf|
|00000290| 50 74 72 2c 47 72 61 66 | 50 6f 72 74 2c 51 44 47 |Ptr,Graf|Port,QDG|
|000002a0| 6c 6f 62 61 6c 73 2c 50 | 61 74 74 65 72 6e 2c 50 |lobals,P|attern,P|
|000002b0| 6f 69 6e 74 2c 52 65 63 | 74 3b 0d 46 52 4f 4d 20 |oint,Rec|t;.FROM |
|000002c0| 54 65 72 6d 69 6e 61 6c | 20 20 49 4d 50 4f 52 54 |Terminal| IMPORT|
|000002d0| 20 43 6c 65 61 72 54 65 | 72 6d 69 6e 61 6c 2c 20 | ClearTe|rminal, |
|000002e0| 57 72 69 74 65 53 74 72 | 69 6e 67 2c 57 72 69 74 |WriteStr|ing,Writ|
|000002f0| 65 4c 6e 2c 52 65 61 64 | 2c 52 65 61 64 53 74 72 |eLn,Read|,ReadStr|
|00000300| 69 6e 67 3b 0d 46 52 4f | 4d 20 51 75 69 63 6b 44 |ing;.FRO|M QuickD|
|00000310| 72 61 77 20 49 4d 50 4f | 52 54 20 47 65 74 50 6f |raw IMPO|RT GetPo|
|00000320| 72 74 2c 47 65 74 50 65 | 6e 2c 50 65 6e 53 69 7a |rt,GetPe|n,PenSiz|
|00000330| 65 2c 46 72 61 6d 65 52 | 65 63 74 2c 49 6e 73 65 |e,FrameR|ect,Inse|
|00000340| 74 52 65 63 74 2c 0d 20 | 20 20 20 20 20 20 20 20 |tRect,. | |
|00000350| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 4f 70 65 | | Ope|
|00000360| 6e 50 6f 72 74 2c 4d 6f | 76 65 50 6f 72 74 54 6f |nPort,Mo|vePortTo|
|00000370| 2c 50 6f 72 74 53 69 7a | 65 2c 43 6c 6f 73 65 50 |,PortSiz|e,CloseP|
|00000380| 6f 72 74 2c 53 65 74 50 | 6f 72 74 2c 0d 20 20 20 |ort,SetP|ort,. |
|00000390| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000003a0| 20 20 20 45 72 61 73 65 | 52 65 63 74 2c 50 61 69 | Erase|Rect,Pai|
|000003b0| 6e 74 52 65 63 74 2c 46 | 69 6c 6c 52 65 63 74 2c |ntRect,F|illRect,|
|000003c0| 53 65 74 52 65 63 74 2c | 0d 20 20 20 20 20 20 20 |SetRect,|. |
|000003d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 4c | | L|
|000003e0| 69 6e 65 54 6f 2c 4d 6f | 76 65 54 6f 2c 54 65 78 |ineTo,Mo|veTo,Tex|
|000003f0| 74 46 6f 6e 74 2c 54 65 | 78 74 53 69 7a 65 2c 4d |tFont,Te|xtSize,M|
|00000400| 6f 6e 61 63 6f 2c 73 79 | 73 74 65 6d 46 6f 6e 74 |onaco,sy|stemFont|
|00000410| 3b 0d 46 52 4f 4d 20 54 | 65 78 74 45 64 69 74 20 |;.FROM T|extEdit |
|00000420| 49 4d 50 4f 52 54 20 54 | 65 78 74 42 6f 78 2c 74 |IMPORT T|extBox,t|
|00000430| 65 4a 75 73 74 43 65 6e | 74 65 72 3b 0d 0d 56 41 |eJustCen|ter;..VA|
|00000440| 52 20 50 6f 72 74 56 61 | 72 3a 47 72 61 66 50 6f |R PortVa|r:GrafPo|
|00000450| 72 74 3b 0d 20 20 20 20 | 6f 6c 64 50 6f 72 74 2c |rt;. |oldPort,|
|00000460| 6e 65 77 50 6f 72 74 3a | 47 72 61 66 50 74 72 3b |newPort:|GrafPtr;|
|00000470| 0d 20 20 20 20 63 68 3a | 43 48 41 52 3b 20 7a 65 |. ch:|CHAR; ze|
|00000480| 69 6c 65 3a 20 41 52 52 | 41 59 20 5b 30 2e 2e 32 |ile: ARR|AY [0..2|
|00000490| 35 35 5d 20 4f 46 20 43 | 48 41 52 3b 0d 20 20 20 |55] OF C|HAR;. |
|000004a0| 20 70 65 6e 4c 6f 63 61 | 74 69 6f 6e 3a 50 6f 69 | penLoca|tion:Poi|
|000004b0| 6e 74 3b 0d 0d 50 52 4f | 43 45 44 55 52 45 20 50 |nt;..PRO|CEDURE P|
|000004c0| 61 69 6e 74 53 63 72 65 | 65 6e 47 72 61 79 3b 0d |aintScre|enGray;.|
|000004d0| 20 56 41 52 20 53 63 72 | 65 65 6e 50 6f 72 74 3a | VAR Scr|eenPort:|
|000004e0| 47 72 61 66 50 74 72 3b | 0d 20 42 45 47 49 4e 20 |GrafPtr;|. BEGIN |
|000004f0| 47 65 74 50 6f 72 74 28 | 53 63 72 65 65 6e 50 6f |GetPort(|ScreenPo|
|00000500| 72 74 29 3b 20 46 69 6c | 6c 52 65 63 74 28 53 63 |rt); Fil|lRect(Sc|
|00000510| 72 65 65 6e 50 6f 72 74 | 5e 2e 70 6f 72 74 52 65 |reenPort|^.portRe|
|00000520| 63 74 2c 51 44 47 6c 6f | 62 61 6c 73 5e 2e 67 72 |ct,QDGlo|bals^.gr|
|00000530| 61 79 29 3b 0d 20 45 4e | 44 20 50 61 69 6e 74 53 |ay);. EN|D PaintS|
|00000540| 63 72 65 65 6e 47 72 61 | 79 3b 0d 0d 50 52 4f 43 |creenGra|y;..PROC|
|00000550| 45 44 55 52 45 20 44 69 | 73 70 6c 61 79 54 69 74 |EDURE Di|splayTit|
|00000560| 6c 65 20 28 68 2c 76 3a | 49 4e 54 45 47 45 52 3b |le (h,v:|INTEGER;|
|00000570| 20 56 41 52 20 74 68 65 | 54 65 78 74 3a 41 52 52 | VAR the|Text:ARR|
|00000580| 41 59 20 4f 46 20 43 48 | 41 52 29 3b 0d 20 56 41 |AY OF CH|AR);. VA|
|00000590| 52 20 54 69 74 6c 65 52 | 65 63 74 3a 52 65 63 74 |R TitleR|ect:Rect|
|000005a0| 3b 0d 20 42 45 47 49 4e | 20 20 53 65 74 52 65 63 |;. BEGIN| SetRec|
|000005b0| 74 28 54 69 74 6c 65 52 | 65 63 74 2c 68 2c 76 2c |t(TitleR|ect,h,v,|
|000005c0| 68 2b 33 30 30 2c 76 2b | 33 30 29 3b 20 45 72 61 |h+300,v+|30); Era|
|000005d0| 73 65 52 65 63 74 28 54 | 69 74 6c 65 52 65 63 74 |seRect(T|itleRect|
|000005e0| 29 3b 0d 20 20 20 20 20 | 20 20 20 50 65 6e 53 69 |);. | PenSi|
|000005f0| 7a 65 28 33 2c 33 29 3b | 20 46 72 61 6d 65 52 65 |ze(3,3);| FrameRe|
|00000600| 63 74 28 54 69 74 6c 65 | 52 65 63 74 29 3b 20 20 |ct(Title|Rect); |
|00000610| 49 6e 73 65 74 52 65 63 | 74 28 54 69 74 6c 65 52 |InsetRec|t(TitleR|
|00000620| 65 63 74 2c 33 2c 33 29 | 3b 0d 20 20 20 20 20 20 |ect,3,3)|;. |
|00000630| 20 20 54 65 78 74 46 6f | 6e 74 28 73 79 73 74 65 | TextFo|nt(syste|
|00000640| 6d 46 6f 6e 74 29 3b 20 | 54 65 78 74 53 69 7a 65 |mFont); |TextSize|
|00000650| 28 31 32 29 3b 0d 20 20 | 20 20 20 20 20 20 54 65 |(12);. | Te|
|00000660| 78 74 42 6f 78 28 41 44 | 52 28 74 68 65 54 65 78 |xtBox(AD|R(theTex|
|00000670| 74 29 2c 20 41 44 44 52 | 45 53 53 28 48 49 47 48 |t), ADDR|ESS(HIGH|
|00000680| 28 74 68 65 54 65 78 74 | 29 2b 31 29 2c 54 69 74 |(theText|)+1),Tit|
|00000690| 6c 65 52 65 63 74 2c 74 | 65 4a 75 73 74 43 65 6e |leRect,t|eJustCen|
|000006a0| 74 65 72 29 3b 0d 20 20 | 20 20 20 20 20 20 50 65 |ter);. | Pe|
|000006b0| 6e 53 69 7a 65 28 31 2c | 31 29 3b 0d 20 45 4e 44 |nSize(1,|1);. END|
|000006c0| 20 44 69 73 70 6c 61 79 | 54 69 74 6c 65 3b 0d 0d | Display|Title;..|
|000006d0| 42 45 47 49 4e 20 28 2a | 20 62 6f 64 79 20 6f 66 |BEGIN (*| body of|
|000006e0| 20 73 6d 61 6c 6c 54 65 | 72 6d 69 6e 61 6c 20 2a | smallTe|rminal *|
|000006f0| 29 0d 20 20 50 61 69 6e | 74 53 63 72 65 65 6e 47 |). Pain|tScreenG|
|00000700| 72 61 79 3b 28 2a 20 73 | 63 72 65 65 6e 42 69 74 |ray;(* s|creenBit|
|00000710| 73 2e 62 6f 75 6e 64 73 | 20 28 74 6f 70 2c 6c 65 |s.bounds| (top,le|
|00000720| 66 74 2c 62 6f 74 74 6f | 6d 2c 72 69 67 68 74 29 |ft,botto|m,right)|
|00000730| 20 20 2a 29 0d 20 20 20 | 20 20 20 20 20 20 20 20 | *). | |
|00000740| 20 20 20 20 20 20 20 28 | 2a 20 20 20 20 20 20 20 | (|* |
|00000750| 20 20 20 20 20 20 20 20 | 20 20 3d 20 28 20 20 30 | | = ( 0|
|00000760| 2c 20 20 20 30 2c 20 20 | 20 33 34 32 2c 20 20 35 |, 0, | 342, 5|
|00000770| 31 32 29 20 20 2a 29 0d | 0d 20 20 44 69 73 70 6c |12) *).|. Displ|
|00000780| 61 79 54 69 74 6c 65 20 | 28 35 2c 32 31 30 2c 20 |ayTitle |(5,210, |
|00000790| 22 73 6d 61 6c 6c 54 65 | 72 6d 69 6e 61 6c 20 32 |"smallTe|rminal 2|
|000007a0| 36 2e 4d 61 69 20 31 39 | 38 35 20 66 78 6b 22 29 |6.Mai 19|85 fxk")|
|000007b0| 3b 0d 0d 20 28 2a 2a 20 | 69 6e 69 74 69 61 6c 69 |;.. (** |initiali|
|000007c0| 7a 65 20 61 20 6e 65 77 | 20 47 72 61 66 50 6f 72 |ze a new| GrafPor|
|000007d0| 74 20 66 6f 72 20 74 68 | 65 20 73 6d 61 6c 6c 20 |t for th|e small |
|000007e0| 54 65 72 6d 69 6e 61 6c | 20 2a 2a 29 0d 20 47 65 |Terminal| **). Ge|
|000007f0| 74 50 6f 72 74 28 6f 6c | 64 50 6f 72 74 29 3b 20 |tPort(ol|dPort); |
|00000800| 6e 65 77 50 6f 72 74 3a | 3d 41 44 52 28 50 6f 72 |newPort:|=ADR(Por|
|00000810| 74 56 61 72 29 3b 0d 20 | 4f 70 65 6e 50 6f 72 74 |tVar);. |OpenPort|
|00000820| 28 6e 65 77 50 6f 72 74 | 29 3b 20 20 20 20 20 28 |(newPort|); (|
|00000830| 2a 20 61 6c 6c 6f 63 20 | 76 69 73 52 67 6e 2c 63 |* alloc |visRgn,c|
|00000840| 6c 69 70 52 67 6e 3b 20 | 69 6e 69 74 20 47 72 61 |lipRgn; |init Gra|
|00000850| 66 50 6f 72 74 20 66 69 | 65 6c 64 73 20 2a 29 0d |fPort fi|elds *).|
|00000860| 20 4d 6f 76 65 50 6f 72 | 74 54 6f 28 35 2c 32 35 | MovePor|tTo(5,25|
|00000870| 30 29 3b 20 50 6f 72 74 | 53 69 7a 65 28 33 30 30 |0); Port|Size(300|
|00000880| 2c 39 30 29 3b 20 53 65 | 74 50 6f 72 74 28 6e 65 |,90); Se|tPort(ne|
|00000890| 77 50 6f 72 74 29 3b 20 | 28 2a 20 6d 61 6b 65 20 |wPort); |(* make |
|000008a0| 69 74 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 50 |it the c|urrent P|
|000008b0| 6f 72 74 20 20 2a 29 0d | 20 50 65 6e 53 69 7a 65 |ort *).| PenSize|
|000008c0| 28 33 2c 33 29 3b 20 20 | 46 72 61 6d 65 52 65 63 |(3,3); |FrameRec|
|000008d0| 74 28 6e 65 77 50 6f 72 | 74 5e 2e 70 6f 72 74 52 |t(newPor|t^.portR|
|000008e0| 65 63 74 29 3b 20 49 6e | 73 65 74 52 65 63 74 28 |ect); In|setRect(|
|000008f0| 6e 65 77 50 6f 72 74 5e | 2e 70 6f 72 74 52 65 63 |newPort^|.portRec|
|00000900| 74 2c 33 2c 33 29 3b 0d | 20 50 65 6e 53 69 7a 65 |t,3,3);.| PenSize|
|00000910| 28 31 2c 31 29 3b 0d 0d | 20 28 2a 2a 20 44 6f 20 |(1,1);..| (** Do |
|00000920| 73 6f 6d 65 74 68 69 6e | 67 20 77 69 74 68 20 74 |somethin|g with t|
|00000930| 68 65 20 6e 65 77 20 54 | 65 72 6d 69 6e 61 6c 20 |he new T|erminal |
|00000940| 2a 2a 29 0d 20 45 72 61 | 73 65 52 65 63 74 28 6e |**). Era|seRect(n|
|00000950| 65 77 50 6f 72 74 5e 2e | 70 6f 72 74 52 65 63 74 |ewPort^.|portRect|
|00000960| 29 3b 0d 20 54 65 78 74 | 46 6f 6e 74 28 4d 6f 6e |);. Text|Font(Mon|
|00000970| 61 63 6f 29 3b 20 54 65 | 78 74 53 69 7a 65 28 39 |aco); Te|xtSize(9|
|00000980| 29 3b 0d 20 57 72 69 74 | 65 53 74 72 69 6e 67 28 |);. Writ|eString(|
|00000990| 27 48 61 6c 6c 6f 20 46 | 72 61 6e 7a 69 27 29 3b |'Hallo F|ranzi');|
|000009a0| 20 20 57 72 69 74 65 4c | 6e 3b 20 20 57 72 69 74 | WriteL|n; Writ|
|000009b0| 65 53 74 72 69 6e 67 28 | 27 44 61 20 73 63 68 61 |eString(|'Da scha|
|000009c0| 75 67 20 68 65 72 27 29 | 3b 20 57 72 69 74 65 4c |ug her')|; WriteL|
|000009d0| 6e 3b 0d 0d 20 47 65 74 | 50 65 6e 28 70 65 6e 4c |n;.. Get|Pen(penL|
|000009e0| 6f 63 61 74 69 6f 6e 29 | 3b 20 57 72 69 74 65 4c |ocation)|; WriteL|
|000009f0| 6e 3b 0d 20 57 49 54 48 | 20 6e 65 77 50 6f 72 74 |n;. WITH| newPort|
|00000a00| 5e 2e 70 6f 72 74 52 65 | 63 74 20 44 4f 20 57 49 |^.portRe|ct DO WI|
|00000a10| 54 48 20 70 65 6e 4c 6f | 63 61 74 69 6f 6e 20 44 |TH penLo|cation D|
|00000a20| 4f 0d 20 20 20 20 20 20 | 4c 69 6e 65 54 6f 28 72 |O. |LineTo(r|
|00000a30| 69 67 68 74 2c 62 6f 74 | 74 6f 6d 29 3b 20 4d 6f |ight,bot|tom); Mo|
|00000a40| 76 65 54 6f 28 6c 65 66 | 74 2c 62 6f 74 74 6f 6d |veTo(lef|t,bottom|
|00000a50| 29 3b 0d 20 20 20 20 20 | 20 4c 69 6e 65 54 6f 28 |);. | LineTo(|
|00000a60| 72 69 67 68 74 2c 76 29 | 3b 20 20 20 20 4d 6f 76 |right,v)|; Mov|
|00000a70| 65 54 6f 28 68 2c 76 29 | 3b 0d 20 20 45 4e 44 3b |eTo(h,v)|;. END;|
|00000a80| 28 2a 77 69 74 68 2a 29 | 20 45 4e 44 3b 20 28 2a |(*with*)| END; (*|
|00000a90| 77 69 74 68 2a 29 0d 0d | 0d 20 52 45 50 45 41 54 |with*)..|. REPEAT|
|00000aa0| 20 57 72 69 74 65 53 74 | 72 69 6e 67 28 27 2f 51 | WriteSt|ring('/Q|
|00000ab0| 29 75 69 74 2f 2d 3e 27 | 29 3b 20 52 65 61 64 53 |)uit/->'|); ReadS|
|00000ac0| 74 72 69 6e 67 28 7a 65 | 69 6c 65 29 3b 0d 20 20 |tring(ze|ile);. |
|00000ad0| 20 20 20 20 20 20 57 72 | 69 74 65 53 74 72 69 6e | Wr|iteStrin|
|00000ae0| 67 28 27 3e 3e 7c 27 29 | 3b 20 57 72 69 74 65 53 |g('>>|')|; WriteS|
|00000af0| 74 72 69 6e 67 28 7a 65 | 69 6c 65 29 3b 20 57 72 |tring(ze|ile); Wr|
|00000b00| 69 74 65 53 74 72 69 6e | 67 28 27 7c 3c 3c 27 29 |iteStrin|g('|<<')|
|00000b10| 3b 0d 20 20 20 20 20 20 | 20 20 57 72 69 74 65 4c |;. | WriteL|
|00000b20| 6e 3b 0d 20 55 4e 54 49 | 4c 20 28 7a 65 69 6c 65 |n;. UNTI|L (zeile|
|00000b30| 5b 30 5d 20 3d 20 30 43 | 29 20 4f 52 20 28 43 41 |[0] = 0C|) OR (CA|
|00000b40| 50 28 7a 65 69 6c 65 5b | 30 5d 29 3d 22 51 22 29 |P(zeile[|0])="Q")|
|00000b50| 3b 0d 20 43 6c 65 61 72 | 54 65 72 6d 69 6e 61 6c |;. Clear|Terminal|
|00000b60| 3b 0d 0d 20 28 2a 2a 20 | 72 65 73 74 6f 72 65 20 |;.. (** |restore |
|00000b70| 69 6e 69 74 69 61 6c 20 | 54 65 72 6d 69 6e 61 6c |initial |Terminal|
|00000b80| 20 43 6f 6e 66 69 67 75 | 72 61 74 69 6f 6e 20 2a | Configu|ration *|
|00000b90| 29 0d 20 43 6c 6f 73 65 | 50 6f 72 74 28 6e 65 77 |). Close|Port(new|
|00000ba0| 50 6f 72 74 29 3b 0d 20 | 53 65 74 50 6f 72 74 28 |Port);. |SetPort(|
|00000bb0| 6f 6c 64 50 6f 72 74 29 | 3b 0d 45 4e 44 20 73 6d |oldPort)|;.END sm|
|00000bc0| 61 6c 6c 54 65 72 6d 69 | 6e 61 6c 2e 0d 00 00 00 |allTermi|nal.....|
|00000bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c00| 00 00 01 00 00 00 01 16 | 00 00 00 16 00 00 00 46 |........|.......F|
|00000c10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c30| 11 53 4d 41 4c 4c 54 45 | 52 4d 49 4e 41 4c 2e 4d |.SMALLTE|RMINAL.M|
|00000c40| 4f 44 02 00 00 00 54 45 | 58 54 50 4d 45 44 01 00 |OD....TE|XTPMED..|
|00000c50| 00 00 54 45 58 54 50 4d | 45 44 01 00 00 40 01 40 |..TEXTPM|ED...@.@|
|00000c60| 50 c8 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |P.......|........|
|00000c70| 00 00 99 46 20 12 00 00 | 0b 4d 00 00 01 5c 00 00 |...F ...|.M...\..|
|00000c80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ca0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d00| 00 00 00 04 00 06 00 08 | 00 00 00 0a 00 09 06 4d |........|.......M|
|00000d10| 6f 6e 61 63 6f 04 00 00 | 01 00 00 00 01 16 00 00 |onaco...|........|
|00000d20| 00 16 00 00 00 46 00 03 | b4 60 02 94 00 00 00 1c |.....F..|.`......|
|00000d30| 00 46 00 01 45 54 41 42 | 00 00 00 12 45 46 4e 54 |.F..ETAB|....EFNT|
|00000d40| 00 00 00 1e 03 ec ff ff | 00 00 00 00 00 03 a7 ba |........|........|
|00000d50| 03 eb ff ff 00 00 00 08 | 00 03 a7 a6 00 00 00 00 |........|........|
|00000d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+